package com.appsino.bingluo.secret.http;

/**
 * Created by Answer on 2017/4/19.
 */

public class BaseCallModel<T> {
    //返回code
    public int code;
    //返回提示信息
    public String codeInfo;
    //返回data数据
    public T data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getCodeInfo() {
        return codeInfo;
    }

    public void setCodeInfo(String codeInfo) {
        this.codeInfo = codeInfo;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "BaseCallModel{" +
                "code=" + code +
                ", codeinfo='" + codeInfo + '\'' +
                ", data=" + data+'}';
    }
}
